/*********************************************************************
*                SEGGER MICROCONTROLLER GmbH & Co. KG                *
*        Solutions for real time microcontroller applications        *
**********************************************************************
*                                                                    *
*        (c) 2003-2012     SEGGER Microcontroller GmbH & Co KG       *
*                                                                    *
*        Internet: www.segger.com    Support:  support@segger.com    *
*                                                                    *
**********************************************************************

----------------------------------------------------------------------
File    : HWConf.c for NXP LPC1788 CPU and Embedded Artists LPC1788
          eval board.
Purpose : Initializes and handles the hardware for emWin without using
          any RTOS.
          Feel free to modify this file acc. to your target system.
--------  END-OF-HEADER  ---------------------------------------------
*/

#include "LPC177x_8x.h"         // Device specific header file, contains CMSIS
#include "system_LPC177x_8x.h"  // Device specific header file, contains CMSIS
#include "HWConf.h"
#include "buzzer.h"
/*********************************************************************
*
*       Defines
*
**********************************************************************
*/
#define TOUCH_TIMER_INTERVAL  10



/*********************************************************************
*
*       Global functions
*
**********************************************************************
*/
/*********************************************************************
*
*       SysTick_Handler()
*
* Function description
*   This is the code that gets called when the processor receives a
*   _SysTick exception.
*/
#ifdef __cplusplus
extern "C" {
#endif

#ifdef __cplusplus
}
#endif



/*********************************************************************
*
*       HW_X_Config()
*
* Function description
*   Initializes the hardware (timer).
*   May be modified, if an other timer should be used.
*/



void HW_X_Config(void) {

  SystemCoreClockUpdate();                      // Ensure, the SystemCoreClock is set
  BoardSpecificInit();
  vBUZZER_Init();
}

/*****  End of file  ************************************************/
